package annotation.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

public class Group {
    private People people;

    public Group() {
    }

    @Autowired
    public Group(People people) {
        this.people = people;
    }

    @Override
    public String toString() {
        return "Group{" + "people=" + people + '}';
    }
}
